package com.hmall.api.client;

import com.hmall.api.dto.ItemDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;
import java.util.List;

/**
 * @Author: JJfJJ
 * @Date: 2025/06/26
 * @Description:
 */
@FeignClient("cart-service")
public interface CartClient {

    @GetMapping("/carts")
    void removeByItemIds(@RequestParam("itemIds") Collection<Long> itemIds);

}
